runtime.p.runqtail (field)
18 uses
runtime (current package)
proc.go#L4044: if mp.spinning && (pp.runnext != 0 || pp.runqhead != pp.runqtail) {
proc.go#L5668: for pp.runqhead != pp.runqtail {
proc.go#L5670: pp.runqtail--
proc.go#L5671: gp := pp.runq[pp.runqtail%uint32(len(pp.runq))].ptr()
proc.go#L6408: t := atomic.Load(&pp.runqtail)
proc.go#L6730: tail := atomic.Load(&pp.runqtail)
proc.go#L6732: if tail == atomic.Load(&pp.runqtail) {
proc.go#L6785: t := pp.runqtail
proc.go#L6788: atomic.StoreRel(&pp.runqtail, t+1) // store-release, makes the item available for consumption
proc.go#L6845: t := pp.runqtail
proc.go#L6857: return (pp.runqtail + o) % uint32(len(pp.runq))
proc.go#L6865: atomic.StoreRel(&pp.runqtail, t)
proc.go#L6889: t := pp.runqtail
proc.go#L6911: t := pp.runqtail
proc.go#L6946: t := atomic.LoadAcq(&pp.runqtail) // load-acquire, synchronize with the producer
proc.go#L6999: t := pp.runqtail
proc.go#L7013: atomic.StoreRel(&pp.runqtail, t+n) // store-release, makes the item available for consumption
runtime2.go#L672: runqtail uint32
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |